package com.senlingspace.payment.core.refund;

import com.senlingspace.common.core.domain.AjaxResult;
import com.senlingspace.system.domain.SlkjOrder;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * 美团退款策略
 *
 * @author lebronjames
 * @date 2024/07/27
 */
@Slf4j
@Service("meituanRefundStrategy")
public class MeituanRefundStrategy implements RefundStrategy {
    @Override
    public AjaxResult refund(SlkjOrder order, Long operatorId) {
        log.info("美团退款: {}", order);

        return AjaxResult.success("Meituan refund successful");
    }

}